﻿using MediatR;
using PublicCommon;
using T_Person.Domain;

namespace T_Person.Read.APi.Applaction.Command.Employment
{
    public class RegularSearchByApprovelCommand:IRequest<PageResult<Personnel>>
    {
        /// <summary>
        /// 姓名
        /// </summary>
        public string? name { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string? dname { get; set; }
        /// <summary>
        /// 职位
        /// </summary>
        public string? rname { get; set; }
        /// <summary>
        /// 入职日期
        /// </summary>
        public DateTime? entrydate { get; set; }
        /// <summary>
        /// 申请日期    
        /// </summary>
        public DateTime? applicationdate { get; set; }
        /// <summary>
        /// 审批状态
        /// </summary>
        public int state { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int pageindex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int pagesize { get; set; }
    }
}
